import request from '@/utils/request';

// 共用余额列表
export const ShareList = params => request({
    url: '/business/Record/Share/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 共用余额新增
export const ShareAdd = params => request({
    url: '/business/Record/Share/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 共用余额更新
export const ShareUpdate = params => request({
    url: '/business/Record/Share/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});

// 共用余额导出
export const ShareExport = params => request({
    url: '/business/Record/Share/export',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 共用余额删除
export const ShareDel = params => request({
    url: '/business/Record/Share/del',
    method: 'GET',
    params
});
// 共用余额详情
export const ShareDetail = params => request({
    url: '/business/Record/Share/get',
    method: 'GET',
    params
});
